export default {
  isFullScreen (state) {
    return state.isFullScreen
  },
  isShowminiplay (state) {
    return state.isShowMiniplay
  },
  isPlay (state) {
    return state.isPlay
  },
  mode (state) {
    return state.mode
  },
  isShowList (state) {
    return state.isShowList
  },
  songs (state) {
    return state.songs
  },
  currentSongs (state) {
    let obj = {
      name: '',
      singer: '',
      picUrl: null

    }
    if (state.songs.length !== 0) {
      obj = state.songs[state.currentIndex]
    }
    return obj
  },
  lyric (state) {
    return state.lyric
  },
  currentIndex (state) {
    return state.currentIndex
  },
  currentTimes (state) {
    return state.currentTime
  },
  favoriteSong (state) {
    return state.favoriteSong
  },
  favoriteList (state) {
    return state.favoriteSong
  },
  historyList (state) {
    return state.historyList
  }
  // historySong (state) {
  //   return state.historyList
  // }
}
